PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / FileStream Class / readAllBytes Method
File to read.
In This Topic
    readAllBytes Method
    In This Topic
    Reads the content of the given file and returns it as a byte array..
    Syntax
    public static byte[] readAllBytes( 
       java.lang.String fileName
    )

    Parameters

    fileName
    File to read.

    Return Value

    A byte array representing the file content.
    See Also